<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<jsp:include page="/common.jsp"></jsp:include>
<script type="text/javascript">
$(function () {
    var chart;
    $(document).ready(function() {
        chart = new Highcharts.Chart({
            chart: {
                renderTo: 'container',
                type: 'column'
            },
            title: {
                text: '利润分析'
            },
            subtitle: {
                text: ''
            },
            xAxis: {
                categories: [
                   ''
                ]
            },
            yAxis: {
                min: 0,
                title: {
                    text: '金额(元)'
                }
            },
            legend: {
                layout: 'vertical',
                backgroundColor: '#FFFFFF',
                align: 'left',
                verticalAlign: 'top',
                x: 100,
                y: 70,
                floating: true,
                shadow: true
            },
            tooltip: {
                formatter: function() {
                    return ''+
                        this.x +': '+ this.y +' 元';
                }
            },
            plotOptions: {
                column: {
                    pointPadding: 0.2,
                    borderWidth: 0
                }
            },
            series: [${series }]
        });
    });
});
</script>
</head>
<body>
<div id="container" style="height: 300px; margin: 0 auto;width: 100%"></div>
	<div class="control-group">
		<div class="controls">
			<a class="btn btn-primary" onclick="history.back()">返回</a>
		</div>
	</div>
</body>
</html>